-- GENERATED SPELL FOR [Mana Beast] --


function spell0_21267(pUnit, Event) --@Mana Burn,Self--
pUnit:FullCastSpellOnTarget(36484,pUnit)
pUnit:RegisterEvent('Sorts_21267', 610, 1)
end

function Sorts_21267(pUnit, Event)
local choix_sorts_21267 = math.random(0, 0)
if choix_sorts_21267 == 0 then
pUnit:RegisterEvent('spell0_21267', 1, 1)
end
end

function mob21267_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21267', math.random(1500, 3000), 1)
end

function mob21267_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21267_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21267_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21267, 1, 'mob21267_Action')
RegisterUnitEvent(21267, 2, 'mob21267_Leave')
RegisterUnitEvent(21267, 3, 'mob21267_Kill')
RegisterUnitEvent(21267, 4, 'mob21267_Die')
